@echo off
set /p ver=Build Ver:
rd /s /q dist

mkdir .\dist\BDSLM_JS
echo d| xcopy ".\third-party\unmined" ".\dist\BDSLM_JS\unmined" /s /e /y
7z a -tzip -r .\dist\BDSLM_JS\unmined\templates\default.web.template.zip .\src\unimined_templates\*
echo d| xcopy ".\src\*.*" ".\dist\BDSLM_JS" /y

7z a -tzip .\dist\BDSLM_JS%ver%.zip .\dist\BDSLM_JS
pause